﻿@model NOSDC.Models.ResetPassword

@section Title{
    @Html.CreatePageTitle("Reset password")
}

@section MetaTags{
   
}

@section Right{
    @{Html.RenderAction("GetUpcomingEvent", "Events");}
    @{Html.RenderAction("RecentJobs", "Jobs");}
}

<fieldset class="regFormBG">
    <h2 style="font-size: 22px; padding-bottom: 1px; color: #236B8E; margin: 0; padding: 0;">RESET PASSWORD</h2>
    <div style=" padding-top:10px;">
        @Html.ValidationSummary(true, "Password reset was unsuccessful. Please correct the errors and try again.")
    </div>
    @using (Html.BeginForm())
    {
        <div>
            <div class="regFormLabel">
                Password
            </div>
            <div class="editor-field">
                @Html.PasswordFor(m => m.Password, new { @class = "regForm" })
                @Html.ValidationMessageFor(m => m.Password)
            </div>
            <div class="regFormLabel">
                Confirm password
            </div>
            <div class="editor-field">
                @Html.PasswordFor(m => m.ConfirmPassword, new { @class = "regForm" })
                @Html.ValidationMessageFor(m => m.ConfirmPassword)
            </div>
          <br/>
            <div class="buttons" style="clear:both;">
                <button type="submit" class="regular">Change password</button> <div style="padding-left:10px; float:left; margin-top:10px; font-size:10px;"></div>
            </div>
        </div> 
        @Html.HiddenFor(m => m.Token)
        @Html.AntiForgeryToken()
    }
</fieldset>
<br />


















@section JavaScript{
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
      <script type="text/javascript">
      $("#Home").addClass("selected");
      </script>
}